package cn.tedu.service;

import cn.tedu.pojo.Car;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Component;

@Component
public class CarServiceImpl implements CarService{
    @Override
    public Car get() {
        Car c = new Car();
        c.setName("五菱宏光").setColor("粉色").setPrice(9900.0);
        return c;
    }
}
